#include "Model.h"


Model::Model(void)
{
}


Model::~Model(void)
{
}

void Model::CreateDrawModelList(GLuint base)
{
	glListBase(base);
	int _index = 0;
	while(!glIsList(_index))
	{
		_index++;
	}
	index = _index;

	glNewList(index, GL_COMPILE);

	glEndList();
}

void Model::DrawModelList()
{
	glCallList(index);
}